package org.dromara.book.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serial;

/**
 * 图书库存对象 szly_book_inventory
 *
 * @author LionLi
 * @date 2024-03-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("szly_book_inventory")
public class SzlyBookInventory extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 条形码
     */
    private String barCode;

    /**
     * 入库时间
     */
    private LocalDateTime inTime;

    /**
     * 状态
     */
    private String status;

    /**
     * 馆藏地
     */
    private Long locationId;

    /**
     * 批次号
     */
    private Long batchId;

    /**
     * 实洋
     */
    private BigDecimal priceReal;

    /**
     * isbn外键
     */
    private Long isbnId;

    /**
     * 层架id
     */
    private Long shelfId;


    /**
     * 来源
     */
    private String sourceType;



}
